package com.tul.exercise.base.innerclass.chapter10_8;

/**
 * @Description 《java编程思想》10.8
 *  闭包：接口实现类
 **/
public class Callee1 implements Incrementable{

    private int i=0;
    @Override
    public void increment() {
        i++;
        System.out.println(i);

    }
}
